package com.base.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.base.mapper.voipmapper.TbkInfoMapper;
import com.base.po.voip.TbkInfo;
import com.base.po.voip.TbkInfoExample;
import com.base.service.TbkInfoService;
import org.springframework.stereotype.Service;

@Service("tbkInfoService")
public class TbkInfoServiceImpl implements TbkInfoService {
	@Autowired
	private TbkInfoMapper tbkInfoMapper;

	@Override
	public int countByExample(TbkInfoExample example) {
		return tbkInfoMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(TbkInfoExample example) {
		return tbkInfoMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		return tbkInfoMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(TbkInfo record) {
		return tbkInfoMapper.insert(record);
	}

	@Override
	public int insertSelective(TbkInfo record) {
		return tbkInfoMapper.insertSelective(record);
	}

	@Override
	public List<TbkInfo> selectByExample(TbkInfoExample example) {
		return tbkInfoMapper.selectByExample(example);
	}

	@Override
	public TbkInfo selectByPrimaryKey(String id) {
		return tbkInfoMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(TbkInfo record, TbkInfoExample example) {
		return tbkInfoMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(TbkInfo record, TbkInfoExample example) {
		return tbkInfoMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(TbkInfo record) {
		return tbkInfoMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(TbkInfo record) {
		return tbkInfoMapper.updateByPrimaryKey(record);
	}

}
